package com.foreknow.demo1;

public class B {
    public void m6(){
        System.out.println("m6........");
    }
    public static void main(String[] args) {
        A a = new A(); //创建对象
//        int sum = a.m1();
//        System.out.println(sum);

        a.m2();

       int s =  a.m3()+a.m4();
        System.out.println(s);

    }
}
